package com.flurry.android;

import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;

abstract class al
{
  av cD;
  String cE = "";

  public void clearTable()
  {
    this.cD.getWritableDatabase().delete(this.cE, null, null);
    readAll();
  }

  public boolean contains(String paramString)
  {
    Cursor localCursor = this.cD.getReadableDatabase().query(this.cE, null, "objectsId='" + paramString + "'", null, null, null, "objectsId ASC, julianday(timestamp)");
    if (localCursor.moveToFirst());
    for (boolean bool = true; ; bool = false)
    {
      localCursor.close();
      return bool;
    }
  }

  public boolean isEmpty()
  {
    Cursor localCursor = this.cD.getReadableDatabase().query(this.cE, null, null, null, null, null, null);
    if (localCursor.moveToFirst());
    for (boolean bool = false; ; bool = true)
    {
      localCursor.close();
      return bool;
    }
  }

  public abstract void readAll();

  public int size()
  {
    Cursor localCursor = this.cD.getWritableDatabase().query(this.cE, null, null, null, null, null, "objectsId ASC, julianday(timestamp)");
    int i = localCursor.getCount();
    localCursor.close();
    return i;
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.flurry.android.al
 * JD-Core Version:    0.6.2
 */